package com.itmg.taskmanager;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.itmg.vo.SearchParameterVO;
import com.itmg.vo.SearchResultItemVO;
import com.itmg.vo.SearchResultVO;

public interface ISearchDataManager {
	
	/**
	 * 根据条件得到相应的结果
	 * @param SearchParameterVO 检索的条件对象
	 * @return SearchResultVO 返回的结果
	 * @throws Exception
	 */
	public SearchResultVO getSearchResult(SearchParameterVO searchParameterVO,HttpServletRequest request)throws Exception;
	
	/**
	 * 得到商品的详细信息
	 * @param SearchParameterVO 
	 * @return SearchResultVO 
	 * @throws Exception
	 */
//	public SearchResultVO getDetailResult(SearchParameterVO searchParameterVO,HttpServletRequest request)throws Exception;
	
	/**
	 * 
	 * @param md5
	 * @return
	 * @throws Exception
	 */
	public SearchResultItemVO getSearchResultItemVOByMd5(String md5,List<SearchResultItemVO> dataItemList)throws Exception;
}
